package com.pai4j.common.enums;


import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum MessageQueueTaskStatusEnum {

    WAIT_EXEC(1, "代执行"),
    RUNNING(2, "执行中"),
    ERROR(3, "执行失败"),
    SUCCESS(4, "执行成功"),
    EXHAUSTED(5, "重试耗尽");

    private final Integer status;

    private final String statusName;
}
